package com.turnengine.client.local.action.command.gwt;

import com.google.common.annotations.GwtCompatible;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.javabi.codebuilder.generated.gwt.IGeneratedRemoteServiceAsync;
import com.turnengine.client.local.action.bean.IActionCondition;
import com.turnengine.client.local.action.enums.ActionConditionExecute;
import com.turnengine.client.local.action.enums.ActionConditionMandatory;
import com.turnengine.client.local.action.enums.ActionConditionType;
import com.turnengine.client.local.action.enums.ActionTargetType;

/**
 * The Add Action Condition Service Async.
 */
@GwtCompatible
public interface AddActionConditionServiceAsync extends IGeneratedRemoteServiceAsync {

	void addActionCondition(long loginId, int instanceId, int actionId, ActionTargetType targetType, ActionConditionType type, ActionConditionExecute execute, ActionConditionMandatory mandatory, int conditionId, long conditionAmount, AsyncCallback<IActionCondition> calback);
}
